/**
 * 
 */
package com.doone.telmarket.infrastructure.dao;

import java.util.List;

import com.doone.telmarket.domain.Comment;
import com.doone.telmarket.vo.CommentView;

/**
 * @author 吴同庆
 * @date 2009-10-13
 * @description 用户评论DAO接口
 * @package com.doone.telmarket.infrastructure.dao
 */
public interface CommentDAO {
	
	//根据业务代码查询相关评论
	List<Comment> selectCommentByServiceCode(CommentView view);
	
	//根据主键查询评论
	Comment selectCommentByPrimaryKey(Integer key);
	
	//插入评论
	Integer insertComment(Comment comment);
	
	//更新评论评审状态和评审时间
	Integer updateCommentByVerifyStateAndTime(Comment comment);
	
	

}
